package com.app.business.global.thirdservice.icc.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class SetPtzDirectionReq {
    @Schema(description = "通道id")
    @NotBlank
    private String channelId;
    
    @Schema(description = "命令[0=停止，1=开启]")
    @NotBlank
    private String command;
    
    @Schema(description = "方向[1=上，2=下，3=左，4=右，5=左上，6=左下，7=右上，8=右下]")
    @NotBlank
    private String direct;
    
    @Schema(description = "水平方向步长[1-8]")
    @NotBlank
    private String stepX;
    
    @Schema(description = "垂直方向步长[1-8]")
    @NotBlank
    private String stepY;
    
    @Schema(description = "扩展数据")
    @NotBlank
    private String extend;
}
